<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>编辑</title>
<SCRIPT language=javascript>
function go()
{
window.history.go(-1);
}
</SCRIPT>
</head>

<body>
<div>
    <button>
		<a href="shouye">返回首页</a>
	</button>
	<button>
		<a href="w_add.jsp">添加</a>
	</button>
</div>
	<table border=1>
		<tr>
			<td>主队</td>
			<td>客队</td>
			<td>主队胜赔率</td>
			<td>客队胜赔率</td>
			<td>平局赔率</td>
			<td>场次</td>
			<td>场次编号</td>
			<td>场次时间</td>
			<td>操作</td>
			
		</tr>
		<c:forEach items="${lists }" var="ls">
		<tr>
			<td>${ls.host_team}</td>
			<td>${ls.guest_team}</td>
			<td>${ls.win}</td>
			<td>${ls.loads}</td>
			<td>${ls.level}</td>
			<td>${ls.matchs}</td>
			<td>${ls.match_number}</td>
			<td>${ls.match_time}</td>
			<td><a href="deleteGame?id=${ls.id}">删除</a>
			<a href="toUpdateGame?id=${ls.id}">修改</a></td>
		</tr>
		</c:forEach>
	</table>
</body>
</html>